<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS特性-继承性</title>
    <style>
        body {
         font-size: 30px;   
         color: red;
         font-weight: 1000;
        }
    </style>
</head>
<body>
<div>div标签</div> 
<p>p 标签</p>
<span> span 标签</span>
   <!--如果 标签自己有样式则生效自己的样式 不能继承  -->
<a href="#">a 标签</a>
<h1>好 标签</h1>
</body>
</html>